

function test(cb) {
    cb()
}

function B()
{
    this.entity = {}
    this.entity.name = "zhangsan";

    var self = this;
    test(function () {
        self.entity.name = "LISI";

        console.log("self.entity.name",self.entity.name);
    })
}


b = new B();

// B();
